package com.casstime.ec.cloud.values.amountPromotion;

import java.util.Date;

import com.casstime.ec.cloud.values.Value;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import lombok.Getter;
import lombok.Setter;
/**
 * 
 * ClassName: AmountPromotionFlowing 
 * Function: (满减活动流水)
 * Reason: ADD REASON(可选).
 *  
 * @author hongcheng.wu  
 * 2018年3月22日 下午2:31:57
 * @version   
 * @since JDK 1.8
 */
@JsonIgnoreProperties(ignoreUnknown = true)//忽略类中不存在的字段，比如json字符串中有个aaa:123,则不会进行转换
@JsonInclude(value = Include.NON_NULL)
public class AmountPromotionFlowing implements Value {
	@Getter @Setter private String id; //流水id
	
	@Getter @Setter private String promotionId; //满减活动id
	
	@Getter @Setter private String promotionName; //满减活动名称
	
	@Getter @Setter private Date effectDate; //活动开始时间
	
	@Getter @Setter private Date expireDate; //活动结束时间
	
	@Getter @Setter private String targetPlatform; //活动平台
	
	@Getter @Setter private String promotionType; //活动类型
	
	@Getter @Setter private String companyId; //客户id
	
	@Getter @Setter private String companyName; //客户名称
	
	@Getter @Setter private String orderId; // 订单id
	
	@Getter @Setter private Date orderTime; // 下单时间
	
	@Getter @Setter private String orderAmount; // 订单金额
	
	@Getter @Setter private String amountCut; // 满减金额
	
	@Getter @Setter private String amountCutRequire; // 满减条件金额
	
	@Getter @Setter private String configId; // 满减配置id
	
	@Getter @Setter private String firstOrder; // 是否是首单
	
	@Override
	public boolean validate() {
		// TODO Auto-generated method stub
		return false;
	}
}
